Sets the position for the next writing or reading in a file that was opened with the Open statement.
Open 文で開かれたファイル内の次の書き込みまたは読み取りの位置を設定します。
For random access files, the Seek statement sets the number of the next record to be accessed.
ランダムアクセスファイルでは、Seek 文が、アクセスされる次のレコードの番号を設定します。
For all other files, the Seek statement sets the byte position at which the next operation is to occur.
そのほかすべてのファイルでは、Seek 文が、次の演算が行われるバイト位置を設定します。
See also: Open, Seek.
次も参照してください:Open、Seek。
Seek[#FileNumber], Position (As Long)
Seek[#FileNumber], Position (As Long)
FileNumber: The data channel number used in the Open statement.
FileNumber: Open 文で使用されるデータチャネル番号。
Position: Position for the next writing or reading. Position can be a number between 1 and 2,147,483,647. According to the file type, the position indicates the number of the record (files in the Random mode) or the byte position (files in the Binary, Output, Append or Input mode). The first byte in a file is position 1, the second byte is position 2, and so on.
Position:次に実行する読み取りないし書き込み位置。この引数には、1 から 2,147,483,647 までの数値を指定できます。この値の指定する内容は、対象とするファイルのタイプに応じて、レコード番号 (Random モードのファイル) ないしバイト位置 (Binary、Output、Append、Input モードのファイル) を意味します。ファイル中の最初のバイト位置は 1、次のバイト位置は 2 とされます。